<?php include_once('header.php');?>
<section id='tags' class="row">
<div class="span12">
	<?php if(isset($tag)):?>
	<dl class="dl-horizontal">
		<dt>Tags:</dt>
		<dd><?=$tag['tags']?></dd>
		<dt>Plus:</dt>
		<dd><?=$tag['plus']?></dd>
		<dt>Vides:</dt>
		<dd><?=$tag['views']?></dd>
	</dl>
	<p>显示使用该标签的文章列表</p>
	<?php else:?>
	<div class='row-fluid' >
		<?php foreach($tags_list as $tag):?>
		<div class="span1">
			<dl class="dl-horizontal">
				<dt>Tags:</dt>
				<dd><?=$tag['tags']?></dd>
				<dt>Plus:</dt>
				<dd><?=$tag['plus']?></dd>
				<dt>Vides:</dt>
				<dd><?=$tag['views']?></dd>
			</dl>		
		</div>
		<?php endforeach; ?>
	</div>
	<?php endif; ?>
</div>
</section>
<?php include_once('footer.php');?>
